<div class=grid_18>
<div class=grid_10> 
    <div class=block-border> 
        <div class=block-header> 
            <h1>SDA Church - Kwabrafoso: Edit Visitors</h1><span></span> 
        </div> 

        <form id=validate-form class="block-content form" action="edit" method=post>
                         
            <div class=_50> 
                <p><label for=textarea>Quarter</label> 
                    <input id="visqtr" name="visqtr" class="required" class="input-xlarge" type="int" value="<?php echo $record['Visitor']['visqtr'];?>"/>
                    <input type="hidden" id="visqtr" name="visqtr" value="<?php echo $record['Visitor']['id'];?>"/></p> 
            </div>  
                
            <div class=_50> 
                <p><label for=textarea>Year (YYYY)</label>
                    <input id="visyear" name="visyear" class="required" type="year" value="<?php echo $record['Visitor']['visyear'];?>"/></p>
            </div> 

            <div class=_50> 
                <p><label for=datepicker>Date</label>
                    <input type=date id="visdate" name="visdate" class="required" value="<?php echo $record['Visitor']['visdate'];?>"/></p> 
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Visitor's Name</label>
                    <input id="visname" name="visname" class="" type="text" value="<?php echo $record['Visitor']['visname'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Religion</label>
                    <input id="rel" name="rel" class="" type="text" value="<?php echo $record['Visitor']['rel'];?>"/></p>
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Denomination</label>
                    <input id="den" name="den" class="" type="text" value="<?php echo $record['Visitor']['den'];?>"/></p> 
            </div> 
                
            <div class=_50> 
                <p><label for=textarea>Purpose of Visit</label>
                    <input id="purpose" name="purpose" class="" type="text" value="<?php echo $record['Visitor']['purpose'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Duration of Stay</label>
                    <input id="stay" name="stay" class=" " type="text" value="<?php echo $record['Visitor']['stay'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Location</label>
                    <input id="location" name="location" class="" type="text" value="<?php echo $record['Visitor']['location'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>House Address</label>
                    <input id="hseadd" name="hseadd" class=" " type="text" value="<?php echo $record['Visitor']['visyear'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Telephone No</label>
                    <input id="telno" name="telno" class="" type="text" value="<?php echo $record['Visitor']['hseadd'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Contact Person In The Church</label>
                    <input id="conper" name="conper" class="" type="text" value="<?php echo $record['Visitor']['visyear'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Person Assigned To The Visitor</label>
                    <input id="asnper" name="asnper" class="" type="text" value="<?php echo $record['Visitor']['asnper'];?>"/></p> 
            </div> 

            <div class=block-actions> 
                <ul class=actions-left> 
                    <li><a class="button red" id=reset-validate-form href="javascript:void(0);">Reset</a></li> 
                </ul> 

                <ul class=actions-right> 
                    <li><input type=submit id="Save-Visitor" class="button" value="Save Record"></li> 
                </ul> 
            </div> 
        </form> 
    </div> 
</div> 